import { S } from '../../s';
import { IPSAppView } from '../../app/view/ipsapp-view';
import { IPSDEFormIFrame } from './ipsdeform-iframe';
import { PSDEFormDetailImpl } from './psdeform-detail-impl';

export class PSDEFormIFrameImpl
  extends PSDEFormDetailImpl
  implements IPSDEFormIFrame
{
  get iFrameUrl(): string {
    return this.M.iFrameUrl;
  }

  protected linkpsappview: IPSAppView;
  getLinkPSAppView(): IPSAppView | null {
    return (
      this.linkpsappview ||
      (this.linkpsappview = this.fillObjectModel(
        S._1e,
        this.M.getLinkPSAppView,
        S._2ee,
      ) as IPSAppView)
    );
  }

  get refreshItems(): string {
    return this.M.refreshItems;
  }
  get cls(): string {
    return 'PSDEFormIFrameImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._b4) return true;
    return super.instanceof(cls);
  }
}
